package com.zaydanwu.cla.dao;

import com.zaydanwu.cla.model.StudentCourse;
import com.zaydanwu.cla.model.StudentCourseKey;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * StudentCourseMapper继承基类
 */
@Repository
public interface StudentCourseMapper extends MyBatisBaseDao<StudentCourse, StudentCourseKey> {

    /**
     * 查询学生课表信息
     *
     * @param stuNo 学号信息
     * @return
     */
    List<StudentCourse> getStudentCourse(@Param("stuNo") Long stuNo);
}